package com.example.springbootmybatis.service.impl;

import com.example.springbootmybatis.domain.Husband;
import com.example.springbootmybatis.mapper.HusbandMapper;
import com.example.springbootmybatis.service.HusBandService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class HusbandServiceImpl implements HusBandService {

    @Resource
    HusbandMapper husbandMapper;
    @Override
    public List<Husband> one2oneMapping() {
        return husbandMapper.one2oneMapping();
    }
}
